import iLogin from '@/views/login'
import home from '@/views/home'

export const loginRouter = {
    name: "login",
    path: '/login',
    component: iLogin
}
// export const redirectRouter = {
//     path: '/',
//     redirect: "/home"
// }
export const appRouter = {
    name: '主页',
    path: '/',
    component: home,
    children: [
        {
            name: "青岛港集团",
            path: '/home',
            component: home
        }
        
    ]
}

export const routes = [
    loginRouter,
    appRouter,
    // redirectRouter
]